package com.ruoyi.suggest.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.customer.domain.CrmCustomer;
import com.ruoyi.employee.domain.CrmEmployee;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修对象 crm_suggest
 *
 * @author hct
 * @date 2022-02-11
 */
@Data
public class CrmSuggest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

   
    /** 建议明细 */
    @Excel(name = "建议明细")
    private String details;

    /** 图片 */
    @Excel(name = "图片")
    private String imgs;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String mobile;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

   
    /** 状态 */
    @Excel(name = "状态")
    private Integer suggestStatus;

    /** 投诉人id */
    @Excel(name = "受理人id")
    private Long userId;
    private SysUser sysUser;
    /** 受理人id */
    @Excel(name = "投诉人id")
    private Long memberId;
    private CrmEmployee crmEmployee;
    /** 投诉公司id */
    @Excel(name = "投诉公司id")
    private Long customerId;
    private CrmCustomer crmCustomer;

    /** 建议单号 */
    @Excel(name = "建议单号")
    private String suggestCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
     
    public void setDetails(String details)
    {
        this.details = details;
    }

    public String getDetails()
    {
        return details;
    }
    public void setImgs(String imgs)
    {
        this.imgs = imgs;
    }

    public String getImgs()
    {
        return imgs;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
     
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setSuggestStatus(Integer suggestStatus)
    {
        this.suggestStatus = suggestStatus;
    }

    public Integer getSuggestStatus()
    {
        return suggestStatus;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setSuggestCode(String suggestCode)
    {
        this.suggestCode = suggestCode;
    }

    public String getSuggestCode()
    {
        return suggestCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createTime", getCreateTime())
                .append("details", getDetails())
                .append("imgs", getImgs())
                .append("mobile", getMobile())
                .append("name", getName())
                .append("remark", getRemark())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("memberId", getMemberId())
                .append("suggestStatus", getSuggestStatus())
                .append("userId", getUserId())
                .append("customerId", getCustomerId())
                .append("suggestCode", getSuggestCode())
                .toString();
    }
}
